<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑个人信息 - 乐考无忧</title>
    <link href="assets/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/bootstrap-icons.css">
    <style>
        body {
            background-color: #f5f5f5;
            padding-bottom: 20px;
        }
        .header {
            background: linear-gradient(135deg, #00b8a9, #00a19a);
            color: white;
            padding: 15px;
            position: relative;
        }
        .back-button {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
        }
        .form-section {
            background: white;
            border-radius: 15px;
            margin: 15px;
            padding: 20px;
        }
        .avatar-upload {
            text-align: center;
            margin-bottom: 20px;
        }
        .avatar-preview {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 10px;
            border: 3px solid #00b8a9;
            overflow: hidden;
        }
        .avatar-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .upload-btn {
            background: #e6f3ff;
            color: #4d96ff;
            border: none;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        .form-label {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }
        .form-control {
            border-radius: 10px;
            border: 1px solid #eee;
            padding: 12px;
            margin-bottom: 15px;
        }
        .submit-btn {
            background: #00b8a9;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 10px;
            width: 100%;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="header d-flex align-items-center">
        <a href="profile.html" class="back-button me-3">
            <i class="bi bi-arrow-left"></i>
        </a>
        <h5 class="mb-0">编辑个人信息</h5>
    </div>

    <!-- 表单部分 -->
    <div class="form-section">
        <div class="avatar-upload">
            <div class="avatar-preview">
                <img src="images/avatar.jpg" alt="用户头像">
            </div>
            <button class="upload-btn">
                <i class="bi bi-camera me-1"></i>更换头像
            </button>
        </div>

        <form>
            <div class="mb-3">
                <label class="form-label">昵称</label>
                <input type="text" class="form-control" value="张同学">
            </div>

            <div class="mb-3">
                <label class="form-label">考研年份</label>
                <select class="form-control">
                    <option>2024</option>
                    <option>2025</option>
                    <option>2026</option>
                </select>
            </div>

            <div class="mb-3">
                <label class="form-label">专业方向</label>
                <select class="form-control">
                    <option>计算机专业</option>
                    <option>数学专业</option>
                    <option>经济专业</option>
                    <option>其他专业</option>
                </select>
            </div>

            <div class="mb-3">
                <label class="form-label">目标院校</label>
                <input type="text" class="form-control" placeholder="请输入目标院校">
            </div>

            <div class="mb-3">
                <label class="form-label">目标专业</label>
                <input type="text" class="form-control" placeholder="请输入目标专业">
            </div>

            <button type="submit" class="submit-btn">
                保存修改
            </button>
        </form>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html> 